<div class="layui-form-item">
    <label class="layui-form-label">{{$value['desc']}}</label>
    <div class="layui-input-block" style="{{$value['style']}}">
        {{if $value['radio_value']==1}}
            {{foreach $value['option'] as $k=>$v}}
                {{if isset($value['value'])&&$value['value']==$k}}
        <input type="radio" name="{{$value['name']}}" value="{{$k}}" title="{{$v}}" checked="">
                {{else}}
        <input type="radio" name="{{$value['name']}}" value="{{$k}}" title="{{$v}}">
                {{/if}}
            {{/foreach}}
        {{else}}
            {{foreach $value['option'] as $v}}
                {{if isset($value['value'])&&$value['value']==$v}}
                <input type="radio" name="{{$value['name']}}" value="{{$v}}" title="{{$v}}" checked="">
                {{else}}
                <input type="radio" name="{{$value['name']}}" value="{{$v}}" title="{{$v}}">
                {{/if}}
            {{/foreach}}
        {{/if}}
        <br><span style="color: red">{{$value['tagging']}}</span>
    </div>
</div>